package com.example.fbi_text.bean;

import java.io.Serializable;

public class News implements Serializable {
    private int News_id;
    private String News_title;
    private String News_content;
    private String News_author;
    private String News_time;

    public int getNews_id() {
        return News_id;
    }

    public void setNews_id(int news_id) {
        News_id = news_id;
    }

    public String getNews_title() {
        return News_title;
    }

    public void setNews_title(String news_title) {
        News_title = news_title;
    }

    public String getNews_content() {
        return News_content;
    }

    public void setNews_content(String news_content) {
        News_content = news_content;
    }

    public String getNews_author() {
        return News_author;
    }

    public void setNews_author(String news_author) {
        News_author = news_author;
    }

    public String getNews_time() {
        return News_time;
    }

    public void setNews_time(String news_time) {
        News_time = news_time;
    }

    @Override
    public String toString() {
        return "News{" +
                "News_id=" + News_id +
                ", News_title='" + News_title + '\'' +
                ", News_content='" + News_content + '\'' +
                ", News_author='" + News_author + '\'' +
                ", News_time='" + News_time + '\'' +
                '}';
    }
}
